$('#<%= "#{resource_class.model_name.underscore}_#{resource.id}" %>').remove();
initializeBehaviours();
